<?php
namespace Home\Controller;
use Think\Controller;

class PortalController extends Controller {
    public function portal(){

    	$user = M('user');
    	$data = $user->field('username')->where(array('user_id' => session('uid')))->select();
    	$this->assign('list',$data);
        $this->display();
    }
}